<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <?php echo '<link rel="stylesheet" href="'.WEB_ROOT.'/public/images/admincp/admincp.css" type="text/css" media="all" />'?>
        <style type="text/css">
        	#aclList input {
				 border:0px;padding:0px; vertical-align:middle;
			}
        	#aclList, #aclList ul {
        		list-style:none outside none;
				padding:5px;
			}
			#aclList {
				padding-right:25px;
			}
        	#aclList li.module {
				background:none repeat scroll 0 0 #F2F9FD;
			}
			#aclList li {
				border:1px solid #DEEFFA;
				 
				padding:5px; text-align:left; position:relative;
			}
			#aclList li b{margin-right:20px;}
			#aclList li input{position:relative;}
        </style>
    </head>
    <body>
        <script type="text/JavaScript">
            var admincpfilename = 'admincp.php', IMGDIR = 'images/default', STYLEID = '1', VERHASH = '5Ne', IN_ADMINCP = true, ISFRAME = 1;
        </script>
        <script src="/public/include/js/common.js" type="text/javascript">
        </script>
        <script src="/public/images/admincp/admincp.js" type="text/javascript">
        </script>
        <div id="append_parent">
        </div>
        <div class="container" id="cpcontainer">
            <table class="tb tb2 " id="tips">
                <tr>
                    <th class="partition">
                        技巧提示
                    </th>
                </tr>
                <tr>
                    <td class="tipsblock">
                        <ul id="tipslis">
                            <li>
                                最外层是类，然后是方法
                            </li>
                        </ul>
                    </td>
                </tr>
            </table>
			<?php echo '<form name="cpform" method="post" action="/admin/user/permission-role" id="cpform">'; ?>
			<?php echo $this->formHidden('id',$this->id);?>
            	<?php ?>
                <table class="tb tb2 ">
                    <tr>
                        <td>
                            <fieldset>
                                <legend >
                                    	<span  class="itemtitle"><h3>权限管理</h3></span>
                                </legend>
                                <ul id="aclList">
                                    <li class="module">
                                    	<ul>
                                	<?php
										 echo $this->RenderAclList($this->userPermissions);
									?>
									</ul>
                                    </li>
                                </ul>
                            </fieldset>
                        </td>
                    </tr>
					<tr> <td><input type="submit" value="提 交" class="btn" /></td></tr>
                </table>
            </form>
        </div>
    </body>
</html>